package com.choosefine.it.company.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.choosefine.it.company.dao.CompanyInfoListMapper;
import com.choosefine.it.company.model.vo.CompanyInfoListVO;
import com.choosefine.it.company.service.CompanyInfoListService;

@Service("companyInfoListService")
public class CompanyInfoListServiceImpl implements CompanyInfoListService {

	@Autowired
	CompanyInfoListMapper  companyInfoListMapper;
	
	@Override
	public List<CompanyInfoListVO> getCompanyInfoListByManagerUserCode(
			String userCode) {
		return companyInfoListMapper.getCompanyInfoListByManagerUserCode(userCode);
	}

	@Override
	public List<CompanyInfoListVO> getCompanyInfoListByTeamUserCode(
			String userCode) {
		return companyInfoListMapper.getCompanyInfoListByTeamUserCode(userCode);
	}

}
